package com.zeny.mycrm.service.impl;

import com.zeny.mycrm.dao.DataAnalysisDao;
import com.zeny.mycrm.model.MonthIncome;
import com.zeny.mycrm.service.DataAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DataAnalysisServiceImpl
 * @Description TODO
 * @Author zeny
 */
@Service
public class DataAnalysisServiceImpl implements DataAnalysisService {

    @Autowired
    private DataAnalysisDao dataAnalysisDao;

    @Override
    public List<MonthIncome> getMonthIncomes() {
        return dataAnalysisDao.getMonthIncomes();
    }
}
